#ifndef GLEXTENSIONS_H
#define GLEXTENSIONS_H
#include "StompedReality/Core.h"
#include <GL/gl.h>
#include <GL/glext.h>
namespace StompedReality
{
namespace Graphics
{
#define BUFFER_OFFSET( i ) ((char*)NULL + (i))

/*!
 *
 * \author	Stefan Kazalski
 *
 * \brief	GL extensions.
 *
 *      Stores gl extensions.
 */
class DLL_EXPORT GLExtensions
{
 public:

  static bool glInitialized;

  // VBO Name Generation Procedure
  static PFNGLGENBUFFERSARBPROC glGenBuffersARB;

  // VBO Bind Procedure
  static PFNGLBINDBUFFERARBPROC glBindBufferARB;

  // VBO Data Loading Procedure
  static PFNGLBUFFERDATAARBPROC glBufferDataARB;

  // VBO Data Delete Procedure
  static PFNGLDELETEBUFFERSARBPROC glDeleteBuffersARB;
};

}
}
#endif // GLEXTENSIONS_H
